package com.gnote.repair.service;

import com.gnote.repair.domain.LoginUser;
import com.gnote.repair.domain.ResponseResult;
import com.gnote.repair.domain.SysUser;

/**
 * @author Gnote
 * @since 2025/3/5 16:05
 */
public interface LoginService {
    String login(SysUser sysUser);

    String logout();

    /**
     * 注册
     * @param loginUser 注册信息
     * @return 是否成功
     */
    ResponseResult<String> register(LoginUser loginUser);
}
